#pragma once

#include "NFServerComm/NFServerCommon/NFIDescStore.h"
#include "NFServerComm/NFServerCommon/NFIDescTemplate.h"
#include "NFLogicCommon/NFDescStoreMacrosDefine.h"
#include "NFLogicCommon/NFDescStoreTypeDefines.h"
#include "E_ZoneMerge.nanopb.h"
#ifndef MAX_ZONEMERGE_ZONEMERGE_NUM
#define MAX_ZONEMERGE_ZONEMERGE_NUM 20
#endif

class ZoneMergeZoneMergeDesc : public NFI_DESC_TEMPLATE_MACRO(ZoneMergeZoneMergeDesc, E_ZoneMergeZoneMerge, EOT_CONST_ZONEMERGE_ZONEMERGE_DESC_ID, MAX_ZONEMERGE_ZONEMERGE_NUM)
public:
	ZoneMergeZoneMergeDesc();
	virtual ~ZoneMergeZoneMergeDesc();
	int CreateInit();
	int ResumeInit();
public:
	int Load(NFResDb *pDB) override;
	int LoadDB(NFResDb *pDB) override;
	int CheckWhenAllDataLoaded() override;
};
